﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/SSATool.DL.Common.Dto" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/SSATool.DL.Common.Dto" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="ArrayOfServiceControllerChange">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ServiceControllerChange" nillable="true" type="tns:ServiceControllerChange" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfServiceControllerChange" nillable="true" type="tns:ArrayOfServiceControllerChange" />
  <xs:complexType name="ServiceControllerChange">
    <xs:sequence>
      <xs:element minOccurs="0" name="Reason" type="tns:ServiceControllerChangeReason" />
      <xs:element minOccurs="0" name="Service" nillable="true" type="tns:ServiceController" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ServiceControllerChange" nillable="true" type="tns:ServiceControllerChange" />
  <xs:simpleType name="ServiceControllerChangeReason">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Added" />
      <xs:enumeration value="Deleted" />
      <xs:enumeration value="Updated" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ServiceControllerChangeReason" nillable="true" type="tns:ServiceControllerChangeReason" />
  <xs:complexType name="ServiceController">
    <xs:sequence>
      <xs:element minOccurs="0" name="CanPauseAndContinue" type="xs:boolean" />
      <xs:element minOccurs="0" name="CanShutdown" type="xs:boolean" />
      <xs:element minOccurs="0" name="CanStop" type="xs:boolean" />
      <xs:element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="DependentServices" nillable="true" type="q1:ArrayOfstring" />
      <xs:element minOccurs="0" name="DisplayName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MachineName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ServiceName" nillable="true" type="xs:string" />
      <xs:element xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ServicesDependedOn" nillable="true" type="q2:ArrayOfstring" />
      <xs:element minOccurs="0" name="Status" type="tns:ServiceControllerStatus" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ServiceController" nillable="true" type="tns:ServiceController" />
  <xs:simpleType name="ServiceControllerStatus">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Unknown" />
      <xs:enumeration value="Stopped" />
      <xs:enumeration value="StartPending" />
      <xs:enumeration value="StopPending" />
      <xs:enumeration value="Running" />
      <xs:enumeration value="ContinuePending" />
      <xs:enumeration value="PausePending" />
      <xs:enumeration value="Paused" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="ServiceControllerStatus" nillable="true" type="tns:ServiceControllerStatus" />
</xs:schema>